package com.logistics.modules.transportationManagement.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.logistics.common.utils.PageUtils;
import com.logistics.common.utils.Query;

import com.logistics.modules.transportationManagement.dao.ClientorderdetailsDao;
import com.logistics.modules.transportationManagement.entity.ClientorderdetailsEntity;
import com.logistics.modules.transportationManagement.service.ClientorderdetailsService;


@Service("clientorderdetailsService")
public class ClientorderdetailsServiceImpl extends ServiceImpl<ClientorderdetailsDao, ClientorderdetailsEntity> implements ClientorderdetailsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ClientorderdetailsEntity> page = this.page(
                new Query<ClientorderdetailsEntity>().getPage(params),
                new QueryWrapper<ClientorderdetailsEntity>()
        );

        return new PageUtils(page);
    }

}